<?php

class TestSimpleMail extends UnitTestCase {

    function testAddCc() {
        $mail = new SimpleMail();

        $this->assertTrue($mail->addCc('test@test.net'),"addCc() should return true");
        $this->assertEqual(count($mail->cc),1,"addCc() should add 1 item to 'cc' array");
    }
}